package edu.whut.mall.portal.enums;

/**
 * @program: d9lab-mall
 * @description: 团购规则状态
 * @author: Wayne
 * @create: 2020-05-17 22:50
 **/
public enum GroupBuyRuleStatusEnum {
    AVAILABLE(1,"可开团"),DISABLE(0,"不可开团");

    private Integer code;
    private String desc;

    GroupBuyRuleStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
